package com.sluggard.security.manage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sluggard.security.manage.mapper.UserRoleMapper;
import com.sluggard.security.manage.model.entity.UserRoleEntity;
import com.sluggard.security.manage.service.IUserRoleService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户角色关联 服务实现类
 * </p>
 *
 * @author lizheng
 * @since 2024-04-28
 */
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRoleEntity> implements IUserRoleService {

    @Override
    public void deleteByUserId(Long id) {
        baseMapper.deleteByUserId(id);
    }
}
